go/parser.parser.mode (field)
9 uses
go/parser (current package)
parser.go#L44: mode Mode // parsing mode
parser.go#L85: p.mode = mode
parser.go#L164: if p.mode&ParseComments == 0 {
parser.go#L290: if p.mode&AllErrors == 0 {
parser.go#L2893: if ident.Name == "_" && p.mode&DeclarationErrors != 0 {
parser.go#L2905: if p.mode&PackageClauseOnly == 0 {
parser.go#L2911: if p.mode&ImportsOnly == 0 {
parser.go#L2937: if p.mode&DeclarationErrors != 0 {
parser.go#L2940: if p.mode&SkipObjectResolution == 0 {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)